package com.workstudy.wstudy.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.workstudy.common.annotation.Excel;
import com.workstudy.common.core.domain.BaseEntity;

/**
 * 信用管理对象 wst_credit
 * 
 * @author sun
 * @date 2021-04-04
 */
public class WstCredit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long creditId;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 分数 */
    @Excel(name = "分数")
    private Double descore;

    /** 信息 */
    @Excel(name = "信息")
    private String info;

    /** 删除 */
    @Excel(name = "删除")
    private Long isDelete;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createUserId;

    /** 更新者ID */
    @Excel(name = "更新者ID")
    private Long updateUserId;

    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setCreditId(Long creditId)
    {
        this.creditId = creditId;
    }

    public Long getCreditId() 
    {
        return creditId;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setDescore(Double descore) 
    {
        this.descore = descore;
    }

    public Double getDescore()
    {
        return descore;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("creditId", getCreditId())
            .append("code", getCode())
            .append("descore", getDescore())
            .append("info", getInfo())
            .append("isDelete", getIsDelete())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createUserId", getCreateUserId())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateUserId", getUpdateUserId())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
